li {
  list-style: none;
}

.container {
  width: 100%;
  height: 862px;
  background-color: transparent;
  margin: 20px 0 30px 0;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  font-family: '时尚中黑简体', serif;

  .head {
    width: 100%;
    height: 30px;
    line-height: 40px;
    //background-image: url(~@/assets/img/titlebg_gongye.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-top: 30px;
    z-index: 99;
    text-align: center;

    .text {
      font-family: '时尚中黑简体', serif;
      font-size: 24px;
      color: #fff;
    }
  }

  .content {
    width: 100%;
    height: 862px;
    padding-top: 30px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

    .conLeft {
      width: 23%;
      height: 100%;
      // outline: 1px solid red;
      // 安装信息
      .install {
        width: 100%;
        height: 480px;
        //padding-left: 10%;
        padding-top: 15%;
        // outline: 1px solid green;
        background-image: url(~@/assets/img/installbg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 0 0;
        position: relative;

        .title {
          width: 90%;
          height: 48px;
          line-height: 48px;
          background-color: #183D4A;
          text-align: center;

          span {
            font-family: '时尚中黑简体', serif;
            color: #41EDF9;
            font-size: 16px;
            display: inline-block;
          }

          .name {
            width: 30%;
          }

          .gennel {
            width: 20%;
          }

          .position {
            width: 30%;
          }

          .operation {
            width: 20%;
          }
        }

        .information {
          width: 90%;
          height: 23%;
          overflow-y: auto;
          text-align: center;

          &::-webkit-scrollbar {
            width: 5px;
            background-color: #383838;
          }

          /*定义滚动条轨道 圆角*/
          &::-webkit-scrollbar-track {
            border-radius: 10px;
            background-color: #383838;
          }

          /*定义滑块 圆角*/
          &::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background-color: #999;
          }

          li {
            width: 100%;
            height: 30px;
            line-height: 30px;

            &:nth-child(2n+1) {
              background-color: #11282A;
            }

            &:nth-child(2n) {
              background-color: #183D4A;
            }

            span {
              font-family: 'DIN';
              color: #fff;
              font-size: 12px;
              display: inline-block;
              // padding: 10px 0;
              overflow: hidden;
              cursor: pointer;
            }

            .nameList {
              width: 30%;
            }

            .gennelList {
              width: 20%;
            }

            .positionList {
              width: 30%;
            }

            .operationList {
              width: 20%;
              //color: #dfffd7;
              .my-s {
                padding: 0px 5px;
                color: #ffffff;
                position: relative;
                border-radius: 4px;
                /* background: -webkit-gradient(linear, left top, right top, from(#09597D), to(#08C6DC)); */
                background: linear-gradient(to right, #09597D, #08C6DC);
                border: none;
                cursor: pointer;

                &:active, &:focus {
                  color: #ffffff;
                  background: #104E5C;
                  border: 1px solid #23FFF9;
                }
              }
            }
          }

          li.bg {
            background-color: #1cc1f0;
          }
        }

        .errorTitle {
          width: 100%;
          height: 20px;
          line-height: 20px;
          font-size: 14px;
          color: #19ECFF;
          position: absolute;
          top: 2.4%;
          left: 4%;
        }

        .errorList {
          width: 100%;
          height: 90%;
          padding: 10px 20px 0 20px;
          overflow-y: auto;

          &::-webkit-scrollbar {
            display: none;
          }

          .errorItem {
            // width: 244px;
            width: 100%;
            //height: 125px;
            background-image: url(~@/assets/img/errorlistbg.png);
            background-repeat: no-repeat;
            background-size: 100% 100%;
            margin: 0 auto 18px;
            transition: all 0.3s;
            overflow: hidden;
            display: flex;
            align-content: center;
            align-items: center;
            .errorMessage {
              width: 76%;
              height: 100%;
              float: left;
              color: #fff;
              // padding-left: 22px;
              padding: 4px 0;
              display: flex;
              justify-content: left;
              align-items: flex-start;
              flex-direction: row;
              flex-wrap: wrap;
              overflow-y: auto;
              font-size: 18px ;

              &::-webkit-scrollbar {
                display: none;
              }

              p {
                display: block;
                width: 100%;
                padding-left: 20px;
                margin-bottom: 2px;
                flex-shrink: 1;
              }
            }

            .playBtn {
              width: 24%;
              height: 100%;
              float: left;
              color: #fff;
              display: flex;
              justify-content: center;
              align-items: center;

              .playButton {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                border: 1px solid #fff;
                cursor: pointer;
                position: relative;

                &::after {
                  content: '';
                  border-left: 18px solid #fff;
                  border-top: 9px solid transparent;
                  border-bottom: 9px solid transparent;
                  position: absolute;
                  top: 50%;
                  left: 34%;
                  transform: translateY(-50%);
                }
              }

              // img{
              //   width: 32px;
              //   height: 32px;
              //   display: block;
              //   position: absolute;
              //   top: 50%;
              //   left: 50%;
              //   transform: translateX(-50%) translateY(-50%);
              //   cursor: pointer;
              // }
            }

            &.animIn {
              animation: animHeightIn 0.5s 1;
            }

            &.animOut {
              animation: animHeightOut 0.5s 1;
            }

            @keyframes animHeightIn {
              from {
                height: 0px;
              }
              to {
                height: 100px;
              }
            }
            @keyframes animHeightOut {
              from {
                opacity: 1;
                transform: translateX(0%);
              }
              to {
                opacity: 0;
                transform: translateX(100%);
              }
            }
          }

          .check {
            border: 1px solid #18e2f5;
            /* background: linear-gradient(3deg, #ff141400 10px, #0f2a2a 0); */
            background: #235664 none;
          }

          .normally {
            background-image: url(~@/assets/img/error_item_normally.png);
          }

          .error {
            background-image: url(~@/assets/img/error_Item_error.png);
          }

          .error1 {
            background-image: url(~@/assets/img/error_item_error2.png);
          }
        }
      }

      // 频谱图

      .spectrum {
        width: 100%;
        height: 300px;
        background-position: 0 0;
        background-image: url(~@/assets/img/chartbg.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        margin-top: 40px;
        position: relative;

        .title {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 20px;
          padding-top: 10px;
        }

        .chooseModel {
          width: 100%;
          height: 30px;
          padding-top: 4px;
          color: #fff;
          display: flex;
          justify-content: space-around;

          .model {
            width: 100px;
            z-index: 99;
            text-align: center;

            .my-select {
              width: 125px
            }

            .tip {
              display: block;
              width: 100px;
              height: 24px;
              line-height: 24px;
              border: 1px solid #0D5056;
              border-radius: 2px;
              margin: 0;
              cursor: pointer;
            }

            .modelList {
              width: 100px;
              height: 72px;
              overflow-y: auto;
              overflow-x: hidden;
              margin: 0;
              padding: 0;

              li {
                width: 100px;
                height: 24px;
                line-height: 24px;
                cursor: pointer;
                background-color: #0E2B30;

                &:hover {
                  background-color: #19ECFF;
                  color: #000;
                }
              }
            }
          }

          .modelTime {
            width: 130px;
            height: 32px;
            line-height: 32px;
          }

          .my_p {
            position: absolute;
            text-align: center;
            width: 40px;
            top: 32%;
            right: 0%;
            z-index: 999;
          }
        }

        .wave {
          width: 100%;
          height: 230px;
          //transform: translateX(10%) translateY(2%);
        }

        .emptyData {
          height: 150px;
          margin: 50px 20px;
          background-image: url(~@/assets/img/icon_empty_data1.png);
          background-repeat: no-repeat;
          background-size: 100% 100%;
          background-position: 0 0;
        }

        .empty {
          color: #ffffff;
          text-align: center;
          position: absolute;
          bottom: 20px;
          left: 140px;
        }
      }
    }

    .conCenter {
      width: 54%;
      height: 100%;
      margin-left: 20px;
      margin-right: 20px;

      .ant-tabs-bar {
        border-bottom: 1px solid #3a3a3a;
      }

      // 信息栏
      .message {
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: space-around;

        .text {
          width: 150px;
          height: 80px;
          background-image: url(~@/assets/img/messagebg.png);
          background-size: 100%;
          background-repeat: no-repeat;
          display: flex;
          align-items: center;
          justify-content: center;

          .icon {
            width: 44px;
            height: 44px;
            background-size: 100%;
            background-repeat: no-repeat;
            margin-right: 10px;
          }

          .icon1 {
            background-image: url(~@/assets/img/icon1.png);
          }

          .icon2 {
            background-image: url(~@/assets/img/icon2.png);
          }

          .icon3 {
            background-image: url(~@/assets/img/icon3.png);
          }

          .txt {
            width: 70px;
            height: 70px;
            padding-top: 10px;
            text-align: center;

            span {
              display: block;
            }

            .num1 {
              color: #46B9F1;
              font-size: 18px;
            }

            .num2 {
              color: #88DB52;
              font-size: 18px;
            }

            .num3 {
              color: #DB4B6B;
              font-size: 18px;
            }

            .name {
              color: #fff;
            }
          }
        }
      }

      // 拓扑图
      .topology {
        width: 100%;
        height: 485px;
        text-align: center;
        position: relative;

        .device {
          text-align: left;
          width: 170px;
          height: 100%;
          left: 80%;
          position: absolute;
          overflow: hidden;

          li {
            width: 100%;
            height: 60px;

            .myImg {
              width: 60px;
              height: 60px;
            }
          }

        }

        .deviceImg {
          height: 485px;
          width: 820px;
          margin: 0 auto;
        }

        img {
          height: 100%;
          -webkit-user-drag: none;

          ::-webkit-scrollbar {
            display: none;
          }
        }
      }

      // 故障统计图
      // 故障统计图
      .quantity {
        width: 100%;
        height: 295px;
        background-image: url(~@/assets/img/histogrambg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: 0 0;
        margin-top: 40px;
        position: relative;
        //text-align: center;
        .audioTitle {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 40px;
          padding-top: 10px;
        }

        .vibrationTitle {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 40px;
        }

        .emptyData {
          height: 110px;
          margin: 0 20px;
          background-image: url(~@/assets/img/icon_empty_data.png);
          background-repeat: no-repeat;
          background-size: 100% 100%;
          background-position: 0 0;
        }

        .play {
          color: #19ECFF;
          font-size: 14px;
          text-align: center;
          width: 82px;
          height: 20px;
          cursor: pointer;
          top: 10px;
          right: 20px;
          position: absolute;
          z-index: 999;
        }

        .audioCanvas {
          height: 110px;
          margin: 10px 20px 0 20px;
          position: relative;

          #canvas {
            width: 100%;
            height: 90px;
            position: absolute;
          }

          .myDivider {
            width: 100%;
            height: 1px;
            background-color: #23FFF9;
            position: absolute;
            top: 105px
          }
        }

        #vibration {
          width: 100%;
          height: 110px;
          margin: 0 auto;
        }
      }
    }

    .conRight {
      width: 23%;
      height: 100%;
      // outline: 1px solid red;
      z-index: 9;
      .proportion {
        width: 100%;
        height: 224px;
        background-image: url(~@/assets/img/chartbg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center center;
        margin-bottom: 18px;
        position: relative;

        > .title {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 20px;
          padding-top: 10px;
        }

        > .tempture {
          position: absolute;
          z-index: 90;
          width: 100%;
          height: 100%;
          top: 24px;
          display: flex;
          flex-direction: row;

          .gateway-list {
            width: 50%;

            .gateway-image {
              width: 80%;
              display: block;
              min-height: 150px;
              object-fit: contain;
              padding-left: 10px;
              margin-left: 20px;
            }

            .my-gateway {
              width: 80%;
              height: 30px;
              color: #fff;
              text-align: center;
              display: flex;
              flex-direction: row;
              padding: 0 !important;
              justify-content: center;
              margin-left: 30px;

              > li {
                width: 30px;
                height: 20px;
                display: flex;
                font-size: 12px;
                justify-content: center;
                align-items: center;
                border: 1px solid #0e99a4;
                margin-left: 5px;
                margin-right: 5px;

                &:hover {
                  background-color: #0e99a4;
                  border-color: #00ecff;
                }

                &.hover {
                  background-color: #0e99a4;
                  border-color: #00ecff;
                }
              }
            }
          }


          > .right {
            flex: 1;
            padding-top: 24px;


            .temp-title {
              color: white;
              display: block;
              text-align: center;
              font-size: 14px;
            }

            .temps {
              display: flex;
              flex-direction: row;
              align-items: center;
              justify-content: space-evenly;
              padding-top: 20px;

              > .tempnum {
                width: 40px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                > .temp-route {
                  color: #ffffff;
                  width: 110px;
                  font-size: 14px;
                  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
                  font-weight: bold;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  padding-top: 3px;
                  text-align: center;
                }

                > .temp-num {
                  color: #19ECFF;
                  font-size: 18px;
                  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
                  font-weight: bold;

                }
              }

            }
          }

          .tempture-low {
            width: 24px;
            min-height: 62px;
            background-image: url(~@/assets/img/temp_low.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center center;
          }

          .tempture-middle-50 {
            width: 24px;
            min-height: 62px;
            background-image: url(~@/assets/img/temp_middle_50.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center center;
          }

          .tempture-middle-65 {
            width: 24px;
            min-height: 62px;
            background-image: url(~@/assets/img/temp_middle_65.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center center;
          }

          .tempture-high {
            width: 24px;
            min-height: 62px;
            background-image: url(~@/assets/img/temp_high.png);
            background-repeat: no-repeat;
            background-size: 100% 100%;
            background-position: center center;
          }
        }
      }

      .scoreCon {
        width: 100%;
        height: 240px;
        background-image: url(~@/assets/img/chartbg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center center;
        margin-bottom: 18px;
        position: relative;
        .title {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 20px;
          padding-top: 10px;
        }
        .score{
          width: 100%;
          height: 234px;
        }
        .xLine{
          width: 78%;
          height: 1px;
          // background-color: #ccc;
          border-bottom: 1px dashed rgba(233, 232, 232, 0.5);
          position: absolute;
          bottom: 18%;
          left: 16%;
        }
      }

      .chartXXX {
        width: 100%;
        height: 300px;
        background-image: url(~@/assets/img/chartbg.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center center;
        margin-top: 40px;
        position: relative;

        .title {
          color: #19ECFF;
          font-size: 14px;
          padding-left: 20px;
          padding-top: 10px;
        }
        #container{
          width: 100%;
          height: 260px;
          outline: 1px solid red;
        }
        .emptyData {
          height: 150px;
          margin: 50px 20px;
          background-image: url(~@/assets/img/icon_empty.jpg);
          background-repeat: no-repeat;
          background-size: 100% 100%;
          background-position: 0 0;
        }
        .empty {
          color: #ffffff;
          text-align: center;
          position: absolute;
          bottom: 20px;
          left: 140px;
        }
      }
    }

    .playWindow {
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url(~@/assets/img/zhezhao.png);
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: 0 0;
      z-index: 999;
      overflow: hidden;

      .con {
        width: 850px;
        height: 650px;
        border: 1px solid #66E9F9;
        border-radius: 5px;
        margin: 100px auto 0;
        background-color: #0E3030;
        position: relative;

        .conTitle {
          width: 246px;
          height: 32px;
          display: block;
          transform: scale(0.8);
          margin: 26px auto 0;
        }

        .detail {
          width: 100%;
          height: 80%;
          margin-top: 26px;
          display: flex;
          justify-content: center;
          align-items: center;

          .audioPlay {
            width: 30%;
            height: 98%;
            margin-right: 20px;
            border: 1px solid #168888;
            border-radius: 2px;

            .audioRotate {
              transform: scale(0.8);
              display: block;
              margin: 40px auto 0;
            }

            .rotate {
              animation: rotate 10s linear infinite;
            }

            @keyframes rotate {
              0% {
                transform: rotate(0) scale(0.8);
              }
              100% {
                transform: rotate(360deg) scale(0.8);
              }
            }

            .audioName {
              width: 150px;
              height: 48px;
              line-height: 24px;
              color: #66E9F9;
              margin: 20px auto;
              overflow: hidden;
              text-align: center;

              p {
                word-break: break-all;
                font-size: 14px;
              }
            }

            .waveBox {
              width: 100%;
              height: 43px;
              margin: 45px auto;
              overflow: hidden;

              .audioWave {
                width: 200%;
                height: 43px;
                transform: translateX(0%);

                img {
                  width: 50%;
                  height: 100%;
                  display: inline-block;
                }
              }

              .wavemove {
                animation: move 10s linear infinite;
              }

              @keyframes move {
                0% {
                  transform: translateX(-0.5%);
                }
                100% {
                  transform: translateX(-50%);
                }
              }
            }

            .control {
              width: 100%;
              height: 48px;
              display: flex;
              justify-content: space-around;
              align-items: center;
              color: #fff;
              font-size: 16px;
              margin-top: 18px;

              .currentTime, .remainingTime {
                // width: 22px;
                height: 16px;
                line-height: 16px;
              }

              .preBtn, .nextBtn {
                width: 16px;
                height: 10px;
                background-repeat: no-repeat;
                background-size: contain;
                background-position: 0 0;
                cursor: pointer;
              }

              .preBtn {
                background-image: url(~@/assets/img/preaudio.png);
              }

              .nextBtn {
                background-image: url(~@/assets/img/nextaudio.png);
              }

              .playPause {
                width: 48px;
                height: 48px;
                cursor: pointer;

                img {
                  width: 100%;
                  height: 100%;
                }
              }
            }
          }

          .audioChart {
            width: 48%;
            height: 98%;

            .soundWave, .pitch, .soundPress {
              width: 98%;
              height: 32%;
              border: 1px solid #168888;
              margin-bottom: 2%;
            }
          }
        }

        .closePlayWindow {
          width: 32px;
          height: 32px;
          background-image: url(~@/assets/img/closeplaywindow.png);
          background-size: 100% 100%;
          background-position: 0 0;
          position: absolute;
          top: 20px;
          right: 20px;
          cursor: pointer;
        }
      }
    }

  }

  :deep(#container2) {
    spectrogram {
      height: 200px !important;
      canvas {
        &:nth-child(1){
          height:200px !important ;
        }
        &:nth-child(2){
          width: 300px !important;
          height: 200px !important;
        }
      }
    }
  }
}
//175%
@media (min-width: 1024px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {
    -webkit-transform-origin-x: 0; /*缩小后文字居左*/
    -webkit-transform: scale(0.80);   /*关键*/
    transform:scale(0.8);
  }
}
//
@media (min-width: 1100px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {
    -webkit-transform-origin-x: 0; /*缩小后文字居左*/
    -webkit-transform: scale(0.80);   /*关键*/
    transform:scale(0.8);
  }
}

//150%
@media (min-width: 1280px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {
    -webkit-transform-origin-x: 0; /*缩小后文字居左*/
    -webkit-transform: scale(0.80);   /*关键*/
    transform:scale(0.8);
  }
}
//
@media (min-width: 1366px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {

  }
}
//125%
@media (min-width: 1440px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {
  }
}
//110%
@media (min-width: 1680px) {
  .container .content .conLeft .install .errorList .errorItem .errorMessage {
  }
}
//100%
@media (min-width: 1930px) {
  .container{
    padding-top: 1px;
    width: 1600px;
    margin-left: 2%;
  }
}


//-webkit-transform-origin-x: 0; /*缩小后文字居左*/
//-webkit-transform: scale(0.80);   /*关键*/
//transform:scale(0.8);